package com.lonely.order.domain.vo.secondprocess;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.lonely.common.core.page.Query;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author: 黄志标
 * @date: 2025/5/23 16:36
 * @description: 订单二次工艺列表分页查询响应实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class QueryOrderSecondProcessPageQueryVO extends Query implements Serializable {

    /**
     * 二次工艺id
     */
    private Long id;

    /**
     * 订单号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long produceOrderId;

    /**
     * 订单图片
     */
    private String orderPic;

    /**
     * 是否首单
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer isFirst;

    /**
     * 工艺名称
     */
    private String processName;

    /**
     * 裁片工艺名称
     */
    private String cuttingSecondProcess;

    /**
     * sku
     */
    private String sku;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 订单状态名称
     */
    private String orderStatusName;

    /**
     * 实发工艺厂名称
     */
    private String actualIssuanceCraftFactory;

    /**
     * 下单数
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer quantity;

    /**
     * 发料数
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer sendMaterialsQuantity;

    /**
     * 回料数
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer recycledMaterialsQuantity;

    /**
     * 采购价
     */
    private String unitPrice;

    /**
     * 实发价格
     */
    private String actualIssuancePrice;

    /**
     * 工序状态
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer secondProcessStatus;
}
